import { api } from '../../../plugins/axios.instance'

const state = {}
const getters = {}
const mutations = {}
const actions = {
  GET_LIST () {
    api({
      method: 'post',
      url: '/product/getProducts',
      successCallback (data) {
        console.log(data)
      },
      errorCallback (err) {
        console.error(err)
      }
    })
  }
}

export default {
  namespaced: true,
  state,
  getters,
  mutations,
  actions
}
